<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>libcarcode.widgets.window</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>libcarcode.widgets.window</h1>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#Window">Window</a></td>
<td>Toplevel window container</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="Window" ID="Window"></a>
<h2>Window</h2>
<p>
 Toplevel window container 
</p>
<h3>Derived from</h3>
Widget
<h3>Methods</h3>
<table>
<tr>
<td><a href="#Window.__init__">Window</a></td>
<td>Window</td>
</tr><tr>
<td><a href="#Window.add_entity">add_entity</a></td>
<td>Add a widget to the window</td>
</tr><tr>
<td><a href="#Window.draw">draw</a></td>
<td></td>
</tr><tr>
<td><a href="#Window.events">events</a></td>
<td></td>
</tr>
</table>
<p><a NAME="Window.__init__" ID="Window.__init__"></a>
<h4>Window (Constructor)</h4>
<b>Window</b>(<i>label, modal= False, *args, **kargs</i>)
<p>
Window
</p><dl>
<dt><i>label</i></dt>
<dd>
string for the window title header
</dd><dt><i>modal</i></dt>
<dd>
window modal
</dd><dt><i>pos</i></dt>
<dd>
tuple with widget position (x, y)
</dd><dt><i>size</i></dt>
<dd>
tuple with widget size (width, height)
</dd>
</dl><a NAME="Window.add_entity" ID="Window.add_entity"></a>
<h4>Window.add_entity</h4>
<b>add_entity</b>(<i>entity</i>)
<p>
 Add a widget to the window
</p><dl>
<dt><i>entity</i></dt>
<dd>
object which implements the widget protocol
</dd>
</dl><a NAME="Window.draw" ID="Window.draw"></a>
<h4>Window.draw</h4>
<b>draw</b>(<i></i>)
<a NAME="Window.events" ID="Window.events"></a>
<h4>Window.events</h4>
<b>events</b>(<i>event</i>)
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>